package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.response.SubjectPlateResponse;
import com.ytjj.qmyx.mall.model.SubjectPlate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * 
 * @description:
 */
public interface SubjectPlateDao {

    /**
    * 删除参数ids集合之外的板块
    * @param ids:
    * @param subjectId:
    * @returns: int
    * 
    */
    int delSubjectPlate(@Param("ids") List<Integer> ids,Integer subjectId);

    /**
    * 根据专题id查询板块信息
    * @param subjectId:
    * @returns: java.util.List<com.ytjj.qmyx.admin.model.response.SubjectPlateResponse>
    * 
    */
    List<SubjectPlateResponse> getPlateBySubjectId(Integer subjectId);
}
